import request from '@/utils/request'

export function GetList(param) {
  return request({
    url: '/opus/page',
    method: 'get',
    params:param
  })
}
export function GetRateList(param) {
  return request({
    url: '/opus/ratepage',
    method: 'get',
    params:param
  })
}
export function GetUrl(param) {
  return request({
    url: '/docs',
    method: 'get',
    params:param
  })
}
export function Remove(id) {
  return request({
    url: '/opus/'+id,
    method: 'delete',
  })
}
export function SaveOpus(data) {
  return request({
    url: '/opus',
    method: 'post',
    data
  })
}
